package com.wing.user.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wing.mybatis.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "warehouse_user")
public class WarehouseUser extends BaseEntity<WarehouseUser> {
    @TableField(value = "account")
    private String account;

    @TableField(value = "`password`")
    private String password;

    @TableField(value = "`name`")
    private String name;

    @TableField(value = "`position`")
    private String position;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "photo")
    private String photo;

    @TableField(value = "visit_card")
    private String visitCard;

    @TableField(value = "sex")
    private Integer sex;

    @TableField(value = "department")
    private String department;

    @TableField(value = "address")
    private String address;

    @TableField(value = "wechat")
    private String wechat;

    @TableField(value = "mail")
    private String mail;

    @TableField(value = "sort")
    private Integer sort;

    @TableField(value = "warehouse_customer_id")
    private Integer warehouseCustomerId;
}